<script type="text/javascript">
$(function(){
	asistencias.init();
});
</script>
	<div class="box ui-corner-all">
		<?php echo $form->create('Asistencia',array('id'=>'asistenciasForm','url'=>array('controller'=>'asistencias','action'=>'index'))); ?>
		<table class="tablaFormHeader"><?php echo
			'<tr>'
				.'<td>&nbsp;&nbsp;&nbsp;&nbsp;'.$form->label('id', __('Fecha', true)).' </td>'
				.'<td>'.$form->input('fecha_asistencia', array('value'=>date('Y-m-d'),'label'=>false,'div'=>false, 'size'=>'20', 'class'=>'text ui-widget-content ui-corner-all','readonly'=>true)).'&nbsp;</td>'
				.'<td>&nbsp;&nbsp;&nbsp;&nbsp;'.$form->label('id', __('Programación', true)).' </td>'
				.'<td>'.$form->select('id',$programacion,null,array('label'=>false,'class'=>'span-8','div'=>false,'error'=>false,'empty'=>__('Seleccione alguna programacion',true))).'</td>'
				.'<td class="text_right">'.$form->submit('buscar', array('id'=>'bt_buscar','div'=>false)).'</td>'
			.'</tr>'; ?>
		</table>
		<?php echo $form->end(); ?>						
	</div>
	<div id=datos>
		<table id="alumnos"></table> 
		<div id="alumnos-paper"></div>
	</div>